import http from "../https"
const baseURL = "http://82.157.143.31:8080"

// const baseURL = "http://192.168.1.122:8080"
const login = (obj) => http({
    url: `${baseURL}/login`,
    method: 'post',
    data: { ...obj }
})
const exit = (token) => http({
    url: `${baseURL}/loginOut`,
    method: 'get',
    params: { token }
})
export { login,exit }